Access Google Drive Reliably in Ubuntu
Access Google Drive Reliably in Ubuntu
The Context
Recently I migrated from Win10 to Ubuntu as my main OS.
I tried migrating before but problems always hold me back from reaping greater benefits it brings.
This time it was better. I installed Cinnamon DE and feeling at home.
The Problem
For collaboration of some projects and for this blog, I use Google Drive. I like to have it in my file manager so I can see my files like local files.
Of course it is always possible to access web based UI but I like the feeling of local in file manager and other text editors.
Ubuntu has a "online accounts" section in settings. It is great, it allows me to add google account and turn on "file sync" and my drive folder appears in the locations sidebar of file manager(nautilus).
However when you click it, it takes around a minute to load root of Google Drive folder.
Maybe it is downloading all sub directories and stuff, whatever. It is not usable.
The Solution
I've found the solution here:
Second section of this article mentions
Here is how to set it up:
sudo add-apt-repository ppa:alessandro-strada/ppa
sudo apt install google-drive-ocamlfuse
mkdir ~/google-drive
google-drive-ocamlfuse ~/google-drive
Then go to "Startup Applications Preferences" and add a new entry, give a name of your choice and paste this to "Command" field:
google-drive-ocamlfuse ~/google-drive
End
You are done, open file manager and click on "google-drive" folder and see for yourself if it is faster.